package com.lagou.rocketmq.pojo;

import java.util.Date;

public class Goods {
    private Integer id;

    private String name;

    private Long price;

    private Integer total;

    private Date secKillTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public Date getSecKillTime() {
        return secKillTime;
    }

    public void setSecKillTime(Date secKillTime) {
        this.secKillTime = secKillTime;
    }
}